package com.apes.framework.plugin.fsm;

import com.apes.framework.jpa.repository.CustomRepository;
import java.util.List;

public interface FsmStateInstanceRepository extends CustomRepository<FsmStateInstance, String> {

    /**
     * 根据状态流实例ID查找对应的状态实例
     * @param id
     * @return
     */
    List<FsmStateInstance> findByFsmFlowInstanceIdOrderByUpdateDateDesc(String id);

}
